﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FrameWork.Lib.DataObjects;

namespace AnimeWatchMax.DataObjects
{
    public class Title : DataObjectBase
    {
        public Title()
        {
        }

        public Title(int pID)
        {
            this.ID = pID;
            this.Created = DateTime.Now;
            this.DataObjectGUID = Guid.NewGuid();
            this.EpisodeList = new List<Episode>();
            this.URLList = new List<URL>();
        }

        public int ID { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public TitleStatusType Status { get; set; }
        public TitleStateType State { get; set; }
        public DateTime? ReleasedDate { get; set; }
        public DateTime? TitleCreatedDate { get; set; }
        public int? TotalEpisodes { get; set; }
        public List<Episode> EpisodeList { get; set; }
        public List<URL> URLList { get; set; }
    }
}
